//
//  ARTDeviceListCell.h
//  ChartsDemo
//
//  Created by yunda on 2022/1/18.
//

#import "BaseTableViewCell.h"

NS_ASSUME_NONNULL_BEGIN

@class ARTDeviceListCell;
@protocol ARTDeviceListCellDelegate <NSObject>

- (void)deviceListCell:(ARTDeviceListCell *)cell didClickedSetting:(NSDictionary *)dataDic;

@end

@interface ARTDeviceListCell : BaseTableViewCell

@property (weak, nonatomic) IBOutlet UIView *viewbg;

@property (weak, nonatomic) IBOutlet UIImageView *logoImageVIew;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *macLabel;
@property (weak, nonatomic) IBOutlet UILabel *stateLabel;
@property (weak, nonatomic) IBOutlet UIButton *setButton;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *macLabelRight;


// @{@"mac":mac,@"name":peripheral.name}
@property (strong, nonatomic)  NSDictionary *dataDic;

// 代理
@property (weak, nonatomic)  id<ARTDeviceListCellDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
